import type { AppRouteModule } from '@/router/types'

import { getParentLayout, LAYOUT } from '@/router/constant'
// import { t } from '@/hooks/web/useI18n';

const dataBoard: AppRouteModule = {
  path: '/dataBoard',
  name: 'Charts',
  component: LAYOUT,
  redirect: '/dataBoard/screen',
  meta: {
    orderNo: 2,
    icon: 'ion:bar-chart-outline',
    title: '数据看板',
  },
  children: [
    {
      path: 'screen',
      name: 'screen',
      meta: {
        title: '大屏看板',
      },
      component: () => import('@/views/dataBoard/screen/index.vue'),
    },
  ],
}

export default dataBoard
